package com.dlc.toolkit

import android.content.Intent
import android.os.Bundle
import android.widget.LinearLayout
import androidx.appcompat.app.AppCompatActivity
import com.dlc.toolkit.distribution.DistributionActivity

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        var btn_distribution: LinearLayout = findViewById(R.id.btn_distribution)
        btn_distribution.setOnClickListener {
            val intent = Intent(this@MainActivity, DistributionActivity::class.java)
            startActivity(intent)
        }
        var btn_distribution1: LinearLayout = findViewById(R.id.btn_distribution1)
        btn_distribution1.setOnClickListener {
            val intent = Intent(this@MainActivity, MainActivity2::class.java)
            startActivity(intent)
        }
    }
}